package com.lhz.project.system.model.vo.auth;

import com.lhz.project.system.model.vo.dept.DeptTreeVo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * @Author: LiHuaZhi
 * @Date: 2021/6/21 0:21
 * @Description:
 **/
@Data
@Schema(description = "角色部门数据")
public class RoleDeptVo {

    @Schema(description = "数据范围（1：全部数据 2：自定数据 3：本部门及以下数据 4：本部门数据  5:个人数据）")
    private Integer dataScope;

    @Schema(description = "已选部门id")
    private List<Integer> deptIds;

    @Schema(description = "部门树")
    private List<DeptTreeVo> deptTreeVo;
}
